package com.project.myBeans;
import com.project.entity.*;
import org.springframework.stereotype.Component;

@Component
public class ExerciseAnswer {

    private String answer;

    private AnswerRecord answerRecord;

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getAnswer() {
        return answer;
    }

    public AnswerRecord getAnswerRecord() {
        return answerRecord;
    }

    public void setAnswerRecord(AnswerRecord answerRecord) {
        this.answerRecord = answerRecord;
    }
}
